package com.siecom.nativelibs;

import android.util.Log;

public class rkGpioControlNative {

	private final static String TAG = "rkGpioControlNative";




	public final static int RK30_PIN3_PA2 = 82;
	public final static int RK30_PIN3_PA3 = 83;//密码键盘
	public final static int RK30_PIN3_PA4 = 84;
	public final static int RK30_PIN3_PA5 = 85;
	public final static int RK30_PIN3_PA6 = 86;
	public final static int RK30_PIN0_PC4 = 87;//指纹模块
	public final static int RK30_PIN0_PC5 = 88;//金融模块
	public final static int RK30_PIN0_PC6 = 89;//二代证模块
	public final static int RK30_PIN0_PA2 = 90;//密码键盘灯
	public final static int ID_LIGHT = 91;//二代证灯
	public final static int BLUE_LIGHT = 92;//蓝牙灯
	public final static int MSR_LIGHT = 93;//磁条灯
	public final static int IC_LIGHT = 94;//IC灯
	public final static int FINGERPRINT_LIGHT = 95;//指纹灯


	static {
        System.loadLibrary("Native");
    }

	public static native int init();
	public native static int ControlGpio(int which,int state);
	public native static int ReadGpio(int which);
	public static native void close();

	
}
